$(function() {
/*	var setting = {
			closable : false,
			resizable:false,//可以改变大小
			spacing_open:1//边框的间隙  
		};
	

	var layout = $('.borderlayout');
	$.each(layout,function(i, layout){
		$(layout).children("div[region]").each(function(i, region){
			var regionValue = $(region).attr("region");
			switch(regionValue){
			case 'north':
				$(this).addClass("ui-layout-north");
				if($(this).attr("closable")=="true"){
					setting.north__closable = true;
				}
				setting.north__size = $(this).attr("size");
				if(!setting.north__size){
					setting.north__size = 100;
				}
				break;
			case 'west':
				$(this).addClass("ui-layout-west");
				if($(this).attr("closable")=="true"){
					setting.west__closable = true;
				}
				setting.west__size = $(this).attr("size");
				if(!setting.west__size){
					setting.west__size = 200;
				}
				
				break;
			case 'south':
				$(this).addClass("ui-layout-south");
				if($(this).attr("closable")=="true"){
					setting.south__closable = true;
				}
				setting.south_size = $(this).attr("size");
				if(!setting.south_size){
					setting.south_size = 100;
				}
				
				
				break;
			case 'east':
				$(this).addClass("ui-layout-east");
				if($(this).attr("closable")=="true"){
					setting.east__closable = true;
				}
				setting.east_size= $(this).attr("size");
				if(!setting.east_size){
					setting.east_size = 100;
				}
				
				break;
			case 'center':
				$(this).addClass("ui-layout-center");
			//	lSettings[regionValue] = {};
				break;
			}
		});
	});

	layout.layout(setting);*/
});